home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / BIND / examples < prev    next >
Encoding:
Text File  |  1993-05-04  |  908 b   |  27 lines

  1. Examples of the BIND function:
  2.  
  3.     BIND ^X META2_CHARACTER
  4.   Makes control X a meta key.
  5.  
  6.     BIND ^Xl parse LIST
  7.   Binds the meta sequence control X followed by l to perform a LIST.
  8.   This binding is only valid if ^X was previously bound
  9.   to a meta function (as was done in the first example).
  10.  
  11.     BIND META1-u BACKWARD_HISTORY
  12.   by default, the escape key is bound to META1_CHARACTER, so this
  13.   binding makes the escape u key sequence show the last command
  14.   history entry.  Note that more than one key may be bound to
  15.   *any* function.
  16.  
  17.     BIND ! type Bang!
  18.   This binds the ! (exclamation mark) to type the word "Bang!"
  19.   into the input line whenever it is hit.
  20.  
  21.     BIND META1-[ meta2
  22.     BIND meta2-A BACKWARD_HISTORY
  23.     BIND meta2-B FORWARD_HISTORY
  24.     BIND meta2-D BACKWARD_CHARACTER
  25.     BIND meta2-C FORWARD_CHARACTER
  26.   This sequence would bind your arrow keys to the functions listed.
  27.